package com.effectiv.gooruda.rest.api.domain;

import org.springframework.data.mongodb.core.index.Indexed;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
public class Image  extends PesistentBase{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Getter @Setter
	@Indexed(unique=true)
	private String name;
	@Getter @Setter
	private String originalName;
	@Getter @Setter
	private String currentName;
	@Getter @Setter
	private String originalFormat;
	@Getter @Setter
	private String currentFormat;
	@Getter @Setter
	private byte[] content;
	@Getter @Setter
	private int sizeInBytes;
	@Getter @Setter
	private String lastAction;
	
	
}
